package cn.db101.kaoqinserver.enumration;

public enum CheckStatus {
    // 1 - 正常 2 - 迟到 3 - 旷课 4 - 请假

    INIT(0, "初始化"),
    NORMAL(1, "正常"),
    LATE(2, "迟到"),
    ABSENT(3, "旷课"),
    LEAVE(4, "请假");

    private int code;

    private String desc;

    CheckStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
